package studentdemo.dao;

import studentdemo.modul.Teacher;
import java.util.List;

public interface TeacherDao {
    int insertTeacher(Teacher teacher);
    int updateTeacher(Teacher teacher);
    int deleteTeacher(String tno);
    Teacher getTeacherById(String tno);
    List<Teacher> getTeachersByName(String name);
    List<Teacher> getAllTeachers(int page, int pageSize);
    int getTeacherCount();
} 